Hardware-based credential management

ABSTRACT

A credential management device has a protected domain and a credential manager to perform credential transactions. A credential transaction may comprise determining if a platform is operating in a trusted mode and releasing an operation credential if the platform is operating in a trusted mode. A credential transaction may comprise validating incoming credentials from other platforms.

BACKGROUND

[0001] Electronic commerce (eCommerce) and business-to-business (B2B) transactions over the Internet or other networks have a critical need for assurance and trust in the communications between partners in these transactions. When a partner receives a communication from another partner, the receiving partner wants to ensure that the communication received is indeed from the sending partner. For example, a supplier receiving an order for parts in accordance with a supply contract, the supplier wants to make sure that the person sending the order is the partner with whom the supplier made the contract, not an impostor.

[0002] Currently, merchants, buyers and suppliers authenticate communications such as contracts and payments using security credentials, such as digital signatures, cryptographic keys, digital certificates and tokens. Generally, this requires complex or specialized end-entity credential management application logic on client platforms. Credential management is the foundation of the trust infrastructure. It is typically handled by software libraries, which must be manually integrated with the software applications being used for the actual transactions.

BRIEF DESCRIPTION OF THE DRAWINGS

[0003] Embodiments of the invention may be best understood by reading the disclosure with reference to the drawings, wherein:

[0004]FIG. 1 shows an embodiment of a partner transaction across a network using Partner Communication Systems.

[0005]FIG. 2 shows an embodiment of a transaction system.

[0006]FIG. 3 shows a flowchart of an embodiment of operating a credential manager (CM).

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0007]FIG. 1 shows an eCommerce communication environment between two partners each using a Partner Communication System (PCS). Note that the term PCS as used here refers to any communication system employed to allow one partner to communicate with another. For this example, assume that Partner A, 10, is a manufacturer, and Partner B, 18, is a supplier of parts for Partner A. They are relying upon network-based communications, such as the Internet, or other ‘public’ network, although they could also be communicating in a virtual private network (VPN). However, security concerns are far higher in the largely public Internet realm than they are in VPNs, and most eCommerce applications are designed to be run across the far-reaching and ubiquitous Internet. Note that the term Internet as used here refers to the current Internet as well as any successor networks that may takes its place in the future.

[0008] During the course of their communications, Partners A and B may route packets of information, such as order requests, contracts, purchase orders, and statements of work, through the network. The packets may ‘hop’ from one server, router, or any other intermediary such as a firewall or an Internet security appliance, to the next between the two partner endpoints. For example, a communication may move from partner A's communication system at 10 through a hop at a router 12, a server 14, another router 16 and another server 17, before reaching its destination at partner B's communication system 18.

[0009] At any of these hops, as well as between them, a hacker or other attacker, trying to insert themselves into the transaction, could capture the information. The intent may be to gather information about one or more of the partners or to misappropriate funds, as examples. However, for whatever reason the attacker is trying to insert his or herself in the transaction, he or she will probably do it by trying to assume one of the partner's identities. Security procedures allow a partner receiving a communication to verify that the communication received was actually from the other partner, not an impostor. Security procedures include encrypting messages and enclosing a cryptographic key, a digital certificate, or a token. In the example of FIG. 1, a transaction system (TS) 20 may handle these procedures.

[0010] The PCS of either partner may take one of several forms. One embodiment of such a system is shown in FIG. 2. Within the PCS is a Transaction System (TS). This system is responsible all transactions into and out from the PCS. The processor 24, which may also be referred to as a ‘host’ processor, calls upon the Credential Manager (CM) 26 as necessary to allow the system 20 to communicate through the port 23.

[0011] The communication system 20 may also include a memory 28, which may also be part of the memory used for CM 26 In one embodiment, the memory may include a ‘protected domain’ allowing the CM 26 to make use of common resources of TS 20. The protected domain is a partition of the memory that can only be accessed by certain processes and in which CM may reside. The CM is responsible for storing valid incoming security credentials as will be discussed later.

[0012] The CM is responsible for storing, locating and registering security credentials, as well as validating security credentials provided as part of incoming messages. These operations may be referred to here as credential transactions. The CM 26 may be a separate device such as a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or executable code running in a main processor, but within the protected domain. Note that the messages may include contracts, purchase orders, payments, etc., but that the object that is part of the message will also include security credentials. Within the CM is a safeguard for the platform upon which the CM is operating. If the main processor 24 of the system 20 is operating in a ‘trusted’ mode, the CM or components within the CM allows the releasing the appropriate operational credentials. Releasing the operational credentials then allows the CM 26 and the processor 24 to use the operational credentials to interact with other platforms. The other platforms will only interact with the system/platform 20 if it has access to the operational credentials available. Note that the term operational credential refers to operational security credentials that indicate that the platform is operating in a secure, or trusted, mode.

[0013] If the platform 20 operates in some ‘unsafe’ manner, where the trusted mode has been violated, whether the processor is not operating correctly, or the memory becomes corrupted, etc., the CM will not release the operational credentials. This effectively prevents the TS from functioning and therefore prevents communication between PCS A and PCS B. Similarly, the CM 26 may provide all or part of the mechanism guarding the protected domain.

[0014] The CM 26 also guards against invalid incoming credentials, protecting the transaction system from interactions with other, untrusted platforms. The incoming credential is received by the port 23 on path 27 a and passed to the CM 26 on path 27 b. The CM 26 returns a valid/invalid result on path 22 a to the port 23. The port 23 then can communicate this result on path 22 b. Optionally, credentials and results can be transferred to or from programs executing in memory on path 25.

[0015] In one embodiment of the invention, transactions with the CM are accessible via SOAP transactions. The Simple Object Access Protocol (SOAP) provides a platform-independent means for partners to interact across the Internet with full interoperability. One aspect of SOAP is the SOAP digital signature elements, including an element referred to as the KeyElement. This is the key transmitted with digital signatures that are in compliance with the SOAP protocol. However, the security credential module does not require any particular public key or credential infrastructure. It is designed to be compatible with all such infrastructures including X.509v3, SPKI and PGP.

[0016] X.509 is an International Telecommunications Union recommendation for digital certificates, a type of security credential. SPKI is the Secure Public Key Infrastructure, and PGP is Pretty Good Privacy. Key-based security credentials typically provide a user with a pair of keys, one public and one private. The public one is disseminated to all parties from which the user desires to receive messages. The user then uses the private key to decrypt messages encrypted using the public key. These are just examples of security credentials and are not intended to limit the scope of the claims in any way.

[0017] Using the CM of FIG. 2 allows the TS and the PCS to take advantage of a hardware-based trust engine to integrate authentication, digital signature and encryption services, such as certificate processing and revocation checking. The CM can accomplish this without the constraints and complications associated with proprietary credential software toolkits, such as PKI toolkits.

[0018]FIG. 3 shows an embodiment of a method to operate a security credential module to determine if an incoming credential is valid and therefore if the content of the message can be trusted. At 40, the security credential is obtained. This may be done in many ways; an approach specific to SOAP will be discussed in more detail later. At 42, the credential path is de-referenced. De-referencing, as the term is used here, means to request a representation of the resource. In SOAP, the representation may be designated by a uniform resource identifier (URI).

[0019] Once the path has been determined, the validity of the path is checked at 44. Path validation generally involves determining if the source of the credential is valid. If the source is not valid, the credential fails validation at 50. If the credential source is valid, that is the path has been verified, the credential is then checked to determine if the credential has been revoked at 46. Monitoring available resources that track credentials, such as a Certificate Revocation List (CRL), or using the Online Certificate Status Protocol (OCSP) may do this. If the credential has not been revoked, the credential passes validation and the credential is stored for further use at 48. If the credential has been revoked, the credential fails validation at 50.

[0020] Specific implementations of the de-referencing and validation processes will depend upon the nature of the credential. As mentioned before, the credential may be provided as part of a Signature element of a SOAP message. The SOAP message may appear something like this: <ds: Signature> <ds:Keylnfo> <ds:KeyName> <KEYS4YOU> </ds:KeyName> </ds:Keylnfo> </ds:Signature>

[0021] In this particular example, the KeyName is the key provided with the communication.

[0022] The CM would then locate the source from which KeyName was provided and verify that it is valid. It would then determine if KeyName has been revoked. If the credential were still valid, then the CM would store KeyName, possibly in the protected domain discussed earlier.

[0023] In one embodiment using the SOAP framework, path validation may include reference validation. Three elements of the SOAP signature, SignatureMethod, SignedInfo, and SignatureValue, may be parsed from the SOAP payload. SignedInfo is the information that is actually being signed by the digital signature. This is typically canonicalized, meaning transformed into a well-defined, standard format, with a method that is shown in the element CanonicalizationMethod. The SignatureMethod element is the method that is used to convert the canonicalized SignedInfo into the SignatureValue.

[0024] In addition to the elements provided above, the credential may include an element called References. Each Reference element includes the digest method and resulting digest value calculated over the identified data object. A data object is signed by computing its digest value and a signature over that value. The signature is later checked via reference and signature validation.

[0025] In reference validation, the following process may be performed on each reference in the Reference element. The SignedInfo element is CanonicalizationMethod in SignedInfo. This allows the application to see what is signed. For instance, the CanonicalizationMethod may have rewritten the Uniform Resource Indicators (URIs) by absolutizing relative URIs. The signature process must be cognizant of this.

[0026] The data object to be digested is then obtained, and digested using the DigestMethod specified in its Reference specification. The generated digest value against DigestValue in the SignedInfo Reference. If there were any mismatch, validation would fail. It must be noted that this is a specific example of a process of reference validation within the path validation process 44 of FIG. 3 and is not intended to limit the scope of the claims.

[0027] In this manner, a faster means to manage credentials in eCommerce systems has been provided when compared to similar systems relying upon software libraries. In addition, a hardware-based implementation will allow users to have access to a trust engine that does not require any configuration, as is currently necessary.

[0028] Thus, although there has been described to this point a particular embodiment for a method and apparatus for a hardware-based trust engine for validating and managing security credentials, it is not intended that such specific references be considered as limitations upon the scope of this invention except in-so-far as set forth in the following claims. 

What is claimed is:
 1. A credential management device, comprising: a protected domain; and a credential manager within the protected domain, the credential manager to perform credential transactions.
 2. The credential management device of claim 1, wherein the credential manager further comprises one of the group comprised of: a general-purpose processor, a coprocessor, a digital signal processor, an application specific integrated circuit, a field-programmable gate array, and executable code operating in the protected domain
 3. The credential management device of claim 1, wherein the credential transactions further comprise releasing an operational credential when a platform is operating in a trusted mode.
 4. The credential management device of claim 1, wherein the credential transactions further comprise validating incoming credentials from other platforms.
 5. The device of claim 1, wherein the credentials further comprise one of the group comprised of: a digital signature, a certificate, a token, a public key, and a private key.
 6. A transaction system, comprising: a credential manager to manage operational credentials and to validate incoming credentials for incoming messages; and a memory to store valid ones of the incoming credentials.
 7. The system of claim 6, wherein the system further comprises a host processor.
 8. The system of claim 6, wherein the system further comprises a communications port through which incoming messages are received.
 9. The system of claim 6, wherein the system further comprises a protected domain in which the credential manager resides.
 10. A method of operating a credential manager, the method comprising: receiving an incoming security credential at the credential manager; de-referencing the security credential path; determining if the security credential path is valid; if the security credential path is valid, determining if the security credential has been revoked; and if the security credential has not been revoked, storing the credential.
 11. The method of claim 10, wherein the incoming security credential is one of the group comprised of: a digital signature, a certificate, a token, a public key and a private key.
 12. The method of claim 10, wherein de-referencing the security credential path further comprises requesting a representation of an object designated by the path.
 13. The method of claim 10, wherein de-referencing the security credential path further comprises de-referencing a uniform resource indicator.
 14. The method of claim 10, wherein the method further comprises failing validation if the security credential path is invalid.
 15. The method of claim 10, wherein the method further comprises failing validation if the security credential has been revoked.
 16. A method of operating a credential manager, the method comprising: determining if a platform is operating in a trusted mode; and if the platform is operating in a trusted mode, releasing an operational credential.
 17. The method of claim 16, wherein the method further comprises refusing to release a credential if the trusted mode has been violated.
 18. The method of claim 16, wherein the trusted mode has been violated by a failure of a host processor.
 19. The method of claim 16, wherein the trusted mode has been violated by a breach of a protected domain. 